/*
 * Copyright (c) 2017, www.zm0618.com All Rights Reserved..
 */

package com.light.hessian.provider.slot;

import com.light.hessian.remoting.client.balance.Balance;
import com.light.hessian.provider.config.ProviderInfo;
import com.light.hessian.provider.config.ProviderStatus;

import java.util.List;

/**
 * Created by zhaojun on 2017/02/12.
 */
public interface ProviderStatusSlotPiple {
    List<ProviderStatusSlot> pullStatusSlots(String provider);
    void reportSlotStatus(ProviderInfo providerInfo, ProviderStatus status);
    void reportSlotRuntime(ProviderRunStatus runStatus);
    ProviderStatusSlot pullStatusSlot(Balance balance, String provider);
}
